package org.quickjsf.core.datamodel;

import java.util.List;

import org.quickjsf.core.base.dao.PageModel;
import org.quickjsf.core.base.viewmodel.vo.FieldFilter;

public interface IDataModel<T> {
	
	public T getModel(String id);
	
	public PageModel<T> getPageModel(int first, int pageSize, 
			String sortField, String sortOrder, List<FieldFilter> filters);
}
